Step 1: In Iron Speed Designer, switch to Layout Editor. Then select the Buttons region in a table panel.
Step 2: Drag and drop a Button (Themed) from the Toolbox to an empty cell.
Remember the name of the button because you need to know this to select a value
for the button control variable in the Code Customization Wizard.
This customization will work only with Iron Speed Designer Button controls.
Step 3: Set the button text and tool tip text
properties for the button in Page Properties window.
Step 4: Go to the Attributes tab in the button's Page Properties
and add "PostBack" pass-through attribute with value "True". Add this
attribute only if the button is inside a table or record control whose
SmoothPanelUpdate pass-through attribute is true.
Step 5: Build the application.
Step 6: Replace the file name "myfile.txt" with your
file name which exists in the Data subfolder.
Step 7: Use this wizard to add code
customization that handles the OnClick event for the custom button.
Step 8: Build and run the application.
|